/** When your routing table is too long, you can split it into small modules**/

const Layout = () => import('@/layout/index.vue');

const levelRouter = {
  path: '/level',
  component: Layout,
  name: 'level',
  meta: {
    title: '等级管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'levelIndex',
      component: () => import('@/views/level/index.vue'),
      name: 'levelIndex',
      meta: { title: '等级管理', }
    },
    {
      path: 'levelAdd',
      component: () => import('@/views/level/add.vue'),
      name: 'levelAdd',
      meta: { title: '新增', hidden: true }
    },
    {
      path: 'levelEdit',
      component: () => import('@/views/level/edit.vue'),
      name: 'levelEdit',
      meta: { title: '编辑', hidden: true }
    },


  ]
};

export default levelRouter;
